package com.auxgroup.hr.front.dao.repository;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.auxgroup.hr.front.dao.domain.PsCEpEvaDocDv;
import com.auxgroup.hr.front.dao.domain.PsCEpEvaDocDvPrimary;

/**
 * @author lv-PC
 *
 */
@Repository
public interface PsCEpEvaDocDvRepository extends
JpaRepository<PsCEpEvaDocDv,PsCEpEvaDocDvPrimary>,JpaSpecificationExecutor<PsCEpEvaDocDv> {
	
	@Query(value=" from PsCEpEvaDocDv where cEvaModel=:model")
	public List<PsCEpEvaDocDv> findAllByEvaModel(@Param("model") String evaModel);
}